package cn.iocoder.yudao.module.wms.controller.admin.warehouse.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Schema(description = "管理后台 - 仓库档案新增/修改 Request VO")
@Data
public class WarehouseSaveReqVO {

    @Schema(description = "仓库id", requiredMode = Schema.RequiredMode.REQUIRED, example = "21180")
    private Integer id;

    @Schema(description = "仓库编码")
    @NotEmpty(message = "仓库名称不能为空")
    private String code;

    @Schema(description = "仓库名称", example = "赵六")
    @NotEmpty(message = "仓库名称不能为空")
    private String name;

}